public class Test {
    public static void main(String[] args) {
        int[][] height = {{1,2,2,3,5},{3,2,3,4,4},{2,4,5,3,1},{6,7,1,4,5},{5,1,1,2,4}};
        Solution solution = new Solution();
        solution.pacificAtlantic(height);
        System.out.println();
    }
}
